package Text1;

public class CommonEmployee extends Employee{
    public CommonEmployee(String name, int id, String salary) {
        super(name, id, salary);
    }
    @Override
    public String work() {
        return getName()+getSalary();
    }

}
